package com.learn.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class InfoController {
    @RequestMapping("/noautho")
    public String noAutho() {
        return "您没有权限";
    }

    @RequestMapping("/noauthe")
    public String noAuthe() {
        return "您还没有登录";
    }

    @RequestMapping("/center")
    public String center() {
        return "个人中心";
    }
}
